home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
lcu.zip
/
MEMCOMP.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-01-04
|
567b
|
26 lines
{$R-,S-,V-}
{
**
** CompMem - A routine to compare to areas of memory for equality
** by Richard S. Sadowsky [74017,1670]
** version 1.0 5/11/88
** released to the public domain
** requires file MEMCOMP.OBJ to recompile
**
}
unit MemComp;
interface
function CompMem(var Block1,Block2; Size : Word) : Word;
{ returns 0 if Block1 and Block2 are equal for Size bytes, otherwise }
{ returns position of first non matching byte }
implementation
function CompMem(var Block1,Block2; Size : Word) : Word; External;
{$L memcomp.Obj}
end.